<table class="table table-hover">
	<thead>
		<tr>
			<th>ID</th>
			<th>名称</th>
			<th>logo</th>
			<th>描述</th>
			<th>关注地址</th>
			<th>状态</th>
			<th>操作</th>
		</tr>
	</thead>
	<tbody>
		<volist name="microAllianceContent" id="vo">
			<tr  class="vo-tr">
				<td class="vo-id">{$vo.id}</td>
				<td>{$vo.title}</td>
				<td><img alt="" src="{$vo.logo}" width="100"></td>
				<td>{$vo.desc}</td>
				<td>{$vo.url}</td>
			  <td class="status">{$vo["status"]?"可用":"禁用"}</td>
			  
				<td>
	            <a class="btn btn-primary btn-xs" href="__CONTROLLER__/modify/id/{$vo.id}/micro_alliance_id/{$micro_alliance_id}">修改</a>
				 <a class="btn btn-danger btn-xs actionds" data-action-id="{$vo.id}" data-action-txt="移除中……" data-action-url="__CONTROLLER__/remove">移除</a>
				<a class="btn btn-info btn-xs action-status" data-action-id="{$vo.id}" data-action-txt="执行中……" data-action-status="{$vo.status}" data-action-status-txt="可用 禁用" data-action-url="__CONTROLLER__/setStatus">{$vo["status"]?"禁用":"可用"}</a>
               
					 
				</td>
			</tr>
		</volist>
	</tbody>
</table>
<div class="pagination">{$pagination}</div>
<script src="__PUBLIC__/Style/Common/js/ZeroClipboard.js"></script>
<script type="text/javascript">
  $(function(){
	    $(".vo-tr").each(function(i){
       	 $().copyPaste({
                text: $("#copy-home-url-"+$(".vo-id").eq(i).html()).attr("data-url"),
                id:  $("#copy-home-url-"+$(".vo-id").eq(i).html()).attr("id")
              });
       })
      
  });
</script>




